home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 120 (1989-11-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 120 (1989-11-15)(Ossowski, Stefan)(DE)(PD).adf / ZeroVirus / ZeroVirus.doc < prev    next >
Text File  |  1989-09-29  |  21KB  |  465 lines

  1. *****************************************************************************
  2.  
  3.                               ZeroVirus v1.3                                 
  4.  
  5.                     (c) Copyright 1989 by Jonathan Potter                    
  6.  
  7. *****************************************************************************
  8.  
  9.  
  10. -----------------------------------------------------------------------------
  11.       NOTE: See accompanying doc file ZVChanges.doc for changes, etc..       
  12. -----------------------------------------------------------------------------
  13.  
  14. INTRODUCTION
  15.  
  16. Welcome to ZeroVirus, the MegaDisc virus checker. This program was written
  17. for and is recommended by MegaDisc, and it is my hope that this program will
  18. serve to totally protect you from any form of Amiga virus. While I have
  19. complete confidence in the performance of this program, neither I nor
  20. MegaDisc will be liable for any damage resulting from the use or abuse of
  21. this program (unlikely, but..).
  22.  
  23. ZeroVirus is a fully integrated virus checker and killer, and bootblock
  24. backup-er and restore-er. With ZeroVirus, you can check the bootblock of any
  25. disc. You may install the disc (removing any virus present) with one of
  26. four different bootblocks, and backup the bootblocks of your commercial
  27. programs to ensure recovery from any viruses in the future. ZeroVirus will
  28. also check a directory of files for any known file viruses, and give you the
  29. option of removing them.
  30.  
  31. ZeroVirus uses BrainFiles to make updating easier. The BrainFiles contain
  32. information that ZeroVirus uses to identify viruses. ZeroVirus has a LEARN
  33. option whereby you may include in the BrainFile information from a given
  34. disc, so that ZeroVirus will recognise that disc in the future. The capacity
  35. of the BrainFiles are only limited by available memory (each known bootblock
  36. takes approximately 150 bytes), so the option is there to learn and recognise
  37. every non-standard bootblock in your software library.
  38.  
  39. ZeroVirus is driven by a series of gadgets, which are selected by clicking
  40. and releasing the left mouse button, while the pointer is positioned over
  41. them.
  42.  
  43.  
  44. STARTING ZEROVIRUS
  45.  
  46. To start ZeroVirus, double-click on the icon or type "ZeroVirus" from the
  47. CLI. You *_MUST_* have the BrainFile (called ZeroVirus.BrainFile) in either
  48. the current directory (same directory as ZeroVirus) or in the S: directory.
  49. The BrainFile will be read in, and then ZeroVirus checks memory for any
  50. viruses. If any are found, they are automatically removed, and you are
  51. notified of their presence.
  52. The Warm, Cool and Cold Capture, and the KickTagPtr, KickMemPtr and
  53. KickCheckSum vectors are checked. These should normally be $000000, and one
  54. sign of a new virus is these vectors pointing somewhere else. If they do not
  55. point to $000000, you will be told of their value, and given the option to
  56. restore them to $000000. Note *_PLEASE_* that some legitimate programs,
  57. like Guardian modify these to their own purposes, so you should be careful
  58. about restoring these if you are using such a program.
  59. If the AmigaDOS 1.3 Recoverable RAM disc is found, you will be told of this.
  60. If any viruses are detected in memory, you should carefully check your
  61. bootdisc, and any discs you have used since then, for viruses.
  62.  
  63. Once ZeroVirus has completed this, you are prompted to press either mouse
  64. button.
  65. The main menu then appears on the screen.
  66.  
  67.  
  68. MAIN MENU
  69.  
  70. Several options are available from the main menu. These are described below,
  71. and then discussed in detail.
  72.  
  73.   CHECK DISCS FOR VIRUSES
  74.  
  75.   This option allows you to check your discs for viruses, and kill them if
  76.   present.
  77.  
  78.   BACKUP BOOTBLOCKS TO DISC FILES
  79.  
  80.   This option allows you to backup the custom bootblocks of your discs.
  81.  
  82.   RESTORE BOOTBLOCKS FROM DISC FILES
  83.  
  84.   This option allows you to restore previously backed-up bootblocks to discs.
  85.  
  86.   CATALOGUE BACKED-UP BOOTBLOCKS
  87.  
  88.   This option allows you to generate a catalogue of previously backed-up
  89.   bootblocks.
  90.  
  91.   ADJUST COLOURS
  92.  
  93.   This option allows you to alter the colour settings of ZeroVirus.
  94.  
  95.   ABOUT ZEROVIRUS
  96.  
  97.   This displays program information.
  98.  
  99.   ICONIFY
  100.  
  101.   This allows you to shrink ("iconify") ZeroVirus to a small window on the
  102.   Workbench screen.
  103.  
  104.   EXIT FROM ZEROVIRUS
  105.  
  106.   This exits the program, and returns you to from whence you came!
  107.  
  108.  
  109. CHECK DISCS FOR VIRUSES
  110.  
  111. This option allows you to check the bootblock of any disc, to check a given
  112. directory or file for the presence of a file virus, and to check your
  113. Startup-Sequence for the calling of a file virus.
  114.  
  115. As with most of the main options, CHECK DISCS FOR VIRUSES has four disc drive
  116. gadgets in the top left quarter of the screen (gadgets for drives not
  117. connected will be disabled).
  118.  
  119. To check a disc, simple click on the appropriate drive gadget.
  120. If any errors occur, either a requester will appear or a message will be
  121. displayed at the bottom of the screen. If all goes well, the disc will be
  122. checked, and you will be told of the result.
  123. To the right of the appropriate drive gadget appears the name of the
  124. bootblock.
  125. If the disc contains a standard DOS bootblock, you will see
  126.  
  127.          "Normal DOS bootblock.".
  128.  
  129. If the disc contains a non-standard bootblock, you will see
  130.  
  131.          "Non-standard bootblock.".
  132.  
  133. If the disc contains a recognised non-standard bootblock, the name of the
  134. bootblock will be displayed. If the bootblock is a virus, this will be
  135. displayed in red (or whatever colour has been chosen to replace red).
  136. For example,
  137.  
  138.          "SCA virus recognised."
  139.          "CCS-BOOT bootblock recognised.".
  140.  
  141. At the bottom of the screen will appear a comment or instruction pertaining
  142. to the current bootblock. Again, if the bootblock is a virus, this will be in
  143. red. For example,
  144.  
  145.          "This disc is okay. Insert another disc to keep checking."
  146.          "This disc contains a virus! INSTALL it immediately!".
  147.  
  148. ZeroVirus detects discchanges for the currently selected drive automatically,
  149. so if you replace the disc in the currently selected drive with another one,
  150. it will be automatically checked for you.
  151.  
  152. The first menu option is LEARN. This allows you to permanently learn (as long
  153. as you keep the same BrainFile!) the bootblock of the currently selected
  154. drive (provided ZeroVirus does not already know it). When you select LEARN,
  155. you are presented with a requester asking firstly for the name of the
  156. bootblock. This can be a maximum of 60 characters. Note that the string
  157. " recognised." will automatically be concatenated to the name, so you should
  158. not end the name with a period, or the word "recognised".
  159. Once you have entered the desired name, and pressed return, you are asked for
  160. a description of the bootblock. This again can be 60 characters long, but
  161. nothing is joined to the end, as with the name. If the bootblock you wish to
  162. LEARN is a virus, you should just press return for the description (ie an
  163. empty string). The string
  164.  
  165.          "This disc contains a virus! INSTALL it immediately!"
  166.  
  167. will automatically be substituted, and will be displayed in red. Once you
  168. have entered the description, the learnt bootblock will be written to the
  169. BrainFile.
  170. Again, the BrainFile *_MUST_* be in the current directory or the S:
  171. directory. The disc it resides on should not be write protected, and there
  172. should be at least 150 bytes free).
  173. Every time you LEARN a bootblock, the user update count of the BrainFile
  174. version number will be updated. The official version number is not updated;
  175. this is changed as new BrainFiles are issued by the author. As new BrainFiles
  176. are issued by the author, you should update your old BrainFile with the
  177. UDBF program accompanying ZeroVirus.
  178. *_PLEASE_*, if you find any new viruses, send them to the author.
  179. LEARN is reasonably intelligent in that it will ONLY learn bytes of a
  180. bootblock that it does not know for any others.
  181.  
  182. FILE VIRUS CHECK will be discussed later.
  183.  
  184. INSTALL DISC allows you to overwrite the bootblock on the selected drive
  185. with one of four built in bootblocks (after a positive request to an
  186. "Are you sure?" requester). What is already there will be irrevocably lost,
  187. so if you are unsure you should BACKUP the bootblock first (see further
  188. instructions for this). If no errors occur, the disc will be installed.
  189. Pressing the right mouse button allows you to select the bootblock you
  190. wish to write. A requester will open, with the following four bootblocks
  191. available:
  192.  
  193.   Standard      - This is the standard AmigaDOS 1.3 bootblock
  194.   NoFastMem     - This bootblock allows you to turn off all auto-configuring
  195.                   expansion memory on reboot.
  196.   BigScreenTest - All PAL Amigas have a bug that causes an NTSC (200 line)
  197.                   sized screen to occasionally open on bootup,
  198.                   instead of the normal PAL size. This bootblock checks the
  199.                   size of the screen you are about to boot into, and if it
  200.                   is NTSC sized, will give you a chance to reset the
  201.                   computer.
  202.                   This eliminates the possibility of going through a half
  203.                   hour Startup-Sequence only to find at the end that you
  204.                   have to reboot because of a short screen.
  205.   AutoAddRAM    - This bootblock allows you to automatically add one chunk
  206.                   of non-autoconfiguring memory on bootup. When you install
  207.                   a disc with this bootblock you are prompted for the start
  208.                   and end addresses of this chunk, in hex. If you give no
  209.                   input to this, the RAM from $f80000 to $fbfffe present
  210.                   in Amiga 1000s with KickStart in ROM is assumed.
  211.  
  212. VIEW bootblock allows you to see (in ASCII) the bootblock of the currently
  213. selected drive. The bootblock is displayed in two blocks (the first 512
  214. bytes and the last 512 bytes). All non-standard characters (ie all
  215. characters conflicting with those in the same position in a standard
  216. bootblock) are displayed in red. All standard characters are in white.
  217.  
  218. RETURN TO MAIN MENU will do just that.
  219.  
  220. FILE VIRUS CHECK allows you to check a file, whole directory or
  221. Startup-Sequence for the presence or calling of currently recognised file
  222. viruses. File viruses are NOT updated by BrainFiles, so as new ones appear,
  223. ZeroVirus will be updated. Descriptions of the recognised file viruses are
  224. given when you select FILE VIRUS CHECK.
  225. After all instructions have been given, a file requester appears. If you
  226. wish to check a whole directory for file viruses, just enter the name of the
  227. directory (complete path name) into the drawer string gadget, and choose OK.
  228. If you wish to check one file, enter the path into the drawer string gadget,
  229. and the filename into the file string gadget. If you wish to check a
  230. Startup-Sequence, you should enter "Startup-Sequence" (sans quotes) into the
  231. file string gadget. Choose OK when ready to proceed, or CANCEL to cancel.
  232. Once you choose OK, whatever you have specified will be checked. If file
  233. viruses are found, you will asked if you want them removed.
  234. Once the checking has finished, statistics on files checked are displayed.
  235. Pressing the left mouse button will continue the check on another directory,
  236. or the right mouse button will take you back to the CHECK DISCS menu.
  237. If a BSG9 file virus is found, and deleted, you will also be given the
  238. option to try to restore the original file. If this is unsuccesful, an
  239. requester will notify you of the failure.
  240.  
  241. TOOLKIT KEYS
  242.  
  243. The toolkit keys are available from the CHECK DISCS menu. These keys allow
  244. you to access features not available from gadgets. They are described below.
  245.  
  246.   F1 - UnINSTALL. This tool uninstalls the disc in the currently selected
  247.        drive, and makes the disc no longer bootable.
  248.   F2 - Fix Checksum. This tool allows you to fix the bootblock checksum on
  249.        the currently selected drive, and make it bootable.
  250.   F3 - Copy bootblock. This tool allows you to copy the bootblock from the
  251.        disc in the currently selected drive to another disc. When you choose
  252.        it you will be asked to click on the destination drive.
  253.  
  254.  
  255. BACKUP BOOTBLOCKS TO DISC FILES
  256.  
  257. This option allows you to keep a copy of the bootblocks of any programs using
  258. custom bootblocks. If these bootblocks are overwritten with, say, a virus,
  259. these programs will no longer work. A good example of these are the Psygnosis
  260. games. If a virus strikes, and the bootblock is overwritten, you will be able
  261. to restore it from your backed-up copy, and save the program.
  262. This option presents you with a screen very similar to that of CHECK DISCS
  263. FOR VIRUSES. LEARN and FILE VIRUS CHECK are missing, and have been replaced
  264. with BACKUP BOOTBLOCK. For instructions on the other functions, see the
  265. CHECK DISCS FOR VIRUSES section.
  266.  
  267. BACKUP BOOTBLOCK allows you to backup the bootblock of the currently selected
  268. drive to a disc file. When selected, the bootblock is read and you are
  269. presented with a file requester. You should enter the path into the drawer
  270. string gadget. The name of the disc is automatically entered into the file
  271. string gadget as the filename, although you may edit this if you wish. It is
  272. suggested you keep all your backed-up bootblocks in one directory, with
  273. nothing else but bootblocks, although this is not necessary. Once the path
  274. and filename have been entered, choose OK. You are then prompted for an
  275. optional comment for the bootblock (maximum 40 characters). Once this is
  276. entered, and provided no errors occur, the bootblock will be written to the
  277. file.
  278.  
  279.  
  280. RESTORE BOOTBLOCKS FROM DISC FILES
  281.  
  282. This option allows you to restore a previously backed-up bootblock to the
  283. currently selected drive. When RESTORE BOOTBLOCK is selected, you are
  284. presented with a file requester prompting for the path and the filename. Once
  285. these are entered, and provided no errors are encountered, the selected
  286. bootblock will be written to the currently selected drive.
  287.  
  288. VIEW SAVED BOOTBLOCK operates in the same way as VIEW BOOTBLOCK, except that
  289. a backed-up bootblock is viewed instead of the bootblock of the currently
  290. selected drive. When it is selected you are prompted for the path and
  291. filename of the backed-up bootblock you wish to view.
  292.  
  293.  
  294. CATALOGUE BACKED-UP BOOTBLOCKS
  295.  
  296. This option allows you to generate a catalogue of all the backed-up
  297. bootblocks in a specified directory.
  298.  
  299. CATALOGUE TO FILE and CATALOGUE TO PRINTER allow you to send the generated
  300. catalogue to a disc file, or to the printer (PRT:).
  301.  
  302. INCLUDE COMMENTS and INCLUDE DATES allow you to select whether comments and
  303. dates are included in the catalogue.
  304.  
  305. GENERATE CATALOGUE presents you with the file requester, prompting you for
  306. the directory containing the bootblocks you wish to catalogue. Enter the
  307. path name in the path string gadget and choose OK. If you have chosen to
  308. send the catalogue to a file, you are then prompted for the filename.
  309. The directory is then read. *_ONLY_* bootblocks saved with ZeroVirus are
  310. included in the catalogue. Provided no errors occur, the catalogue is sent
  311. to the desired output.
  312.  
  313.  
  314. ADJUST COLOURS
  315.  
  316. This presents you with a palette requester, allowing you to adjust the
  317. colours of ZeroVirus. The eight coloured gadgets in the top left quarter
  318. allow you to select the current colour to adjust. The first three slider
  319. gadgets allow you to change the amount of red, green and blue in the current
  320. colour, and the last three slider gadgets allow you to change the hue,
  321. saturation and luminance of the current colour.
  322. The wide coloured bar displays the currently selected colour, and (in hex)
  323. the amounts of red, green and blue in it.
  324. COPY allows you to copy the currently selected colour to another pen.
  325. SPREAD allows you to spread the colours between the currently selected colour
  326. and another pen.
  327. RESET will reset the colours to their states when ADJUST COLOURS was chosen.
  328. Pressing ESCape has the same effect as RESET.
  329. CANCEL, or the close gadget resets to colours and exits the palette
  330. requester.
  331. OK accepts the colours and exits the palette requester.
  332. SAVE accepts the colours, exits the palette requester, and attempts to save
  333. the colours to the colour file (ZeroVirus.Palette). The file
  334. ZeroVirus.Palette must be in the current directory or in the S: directory,
  335. and the disc it resides on must not be write protected.
  336.  
  337.  
  338. ABOUT ZEROVIRUS
  339.  
  340. This simply gives you some information on the program and author, and tells
  341. you which version BrainFile you are using.
  342.  
  343.  
  344. ICONIFY
  345.  
  346. This option closes the ZeroVirus window and screen, and opens a small window
  347. on the Workbench screen. ZeroVirus now behaves very much like the PD program
  348. VirusX. Unlike VirusX, however, it also contains a title bar clock and
  349. memory monitor. The current time is displayed (and updated) along with the
  350. amount of chip and fast memory available in the system. When the iconified
  351. window first opens, all discs present are checked for viruses or non-standard
  352. bootblocks. If they have viruses or other non-standard bootblocks on them,
  353. a requester appears, asking you if you wish to return to ZeroVirus. Note that
  354. if the bootblock is a virus, you are not told which virus it is. You will
  355. find this out when you return to ZeroVirus and CHECK DISCS FOR VIRUSES.
  356. After all discs have been checked, the clock starts and continues updating.
  357. Every time a disc is changed, that disc is automatically checked, and the
  358. same procedure as above follows. To return to ZeroVirus from the iconified
  359. window, click the close gadget.
  360. If ZeroVirus is run with the "-i" option, ie
  361.  
  362.               ZeroVirus -i
  363.  
  364. it will start up in the iconified mode.
  365. You are only notified if the bootblock is a virus, or if it is a non-standard
  366. and unknown bootblock.
  367.  
  368.  
  369. EXIT FROM ZEROVIRUS
  370.  
  371. This option simply exits ZeroVirus.
  372.  
  373.  
  374. HOW TO USE THE FILE REQUESTER
  375.  
  376. The file requester presents a very easy way to access any file anywhere on
  377. the Amiga. It consists of several different gadgets :
  378.  
  379.    o  Directory gadgets which allow you to select a file, drawer or volume
  380.       by scrolling through a list and clicking on the one you want, or by
  381.       entering your own in a string gadget.
  382.  
  383.    o  PARENT gadget allows you to jump back to the parent of the current
  384.       directory.
  385.  
  386.    o  OKAY gadget which you use to end the requester and accept your
  387.       choices. An alternative to this is double clicking on a file name.
  388.  
  389.    o  CANCEL gadget which you use to end the requester and reject your
  390.       choices.
  391.  
  392.    o  RENAME gadget which allows you to rename the currently selected
  393.       file.
  394.  
  395.    o  DELETE gadget which allows you to delete the currently selected
  396.       file.
  397.  
  398.    o  MAKE DIR gadget which allows you to make a subdirectory in the
  399.       current directory.
  400.  
  401. To scroll through the lists of files, drawers and volumes you have a
  402. slider which lets you scan quickly through the entries, and an up and
  403. down gadget which allows you to move through the list one entry at a time.
  404. When the requester is first opened, the available volumes are read in,
  405. sorted, and added to the list. The current directory is then searched for
  406. files and subdirectories.
  407. All gadgets are active while the directories are being read.
  408. The volume list is only updated on discchanges, however the file and
  409. drawer lists are updates whenever you change directory (or choose
  410. a new volume).
  411.  
  412.  
  413. ABOUT BRAINFILES
  414.  
  415. The BrainFile for ZeroVirus is a file called ZeroVirus.BrainFile. This is a
  416. text file, not a program, so it can not be executed. This file can be
  417. edited directly, but it is easier to enter known bootblocks in it via the
  418. LEARN option. The BrainFile MUST end with the string "QUIT" on a new line,
  419. and with no CR/LF following the QUIT.
  420. BrainFile updates will be released on MegaDisc, the MegaDisc software
  421. catalogue, or are available from the author.
  422. It is *_NOT_* recommended that you edit the brainfiles directly, as they
  423. must have exactly the right format, or else they will not work correctly.
  424. See the accompanying program UDBF and its documentation for more information
  425. on updating BrainFiles.
  426.  
  427.  
  428. PROGRAM STATUS
  429.  
  430. ZeroVirus is NOT public domain, although it is freely redistributable. It is
  431. under NO circumstances to be sold, or included on any commercial product. I
  432. consider it immoral to make money out of viruses, so I am not charging for
  433. ZeroVirus. If ZeroVirus does save you from viruses, why not write me a letter
  434. and let me know. No need to send any money (although I am not stupid enough
  435. as to refuse a small contribution), but it would be nice to know just how
  436. much this program is used. Also, if you have any comments or bug reports,
  437. or find any new viruses, *_PLEASE_* send them to me.
  438.  
  439.  
  440. THE END
  441.  
  442. ZeroVirus is an easy program to use. I hope it becomes a program you use
  443. regularly to guard against the battery of viruses on the Amiga. If programs
  444. like this are used regularly by everyone, viruses on the Amiga could one day
  445. become a thing of the past.
  446.  
  447. Jonathan Potter.
  448.  
  449.  
  450.                         To contact the author, write to
  451.  
  452.                           Jonathan Potter
  453.                           3 William Street
  454.                           Clarence Park S.A. 5034
  455.                           Australia
  456.                      ph : (08) 2932788
  457.  
  458.                           or c/o
  459.  
  460.                           MegaDisc
  461.                           P.O. Box 759
  462.                           Crows Nest N.S.W. 2065
  463.                           Australia
  464.                      ph : (02) 9593692
  465.